package com.hroa.common;

/**
 * 常量
 * @author is_zhoufeng
 */
public interface Consts {

    /**
     * 资源文件中的key 
     */
    public static interface PropertiesKey {

        /**
         * 上传文件根目录
         */
        public static final String APP_UPLOAD_DIR             = "app.upload.dir";
        /**
         * 项目地址
         */
        public static final String APP_CONTEXT_PATH           = "app.context.path";
        /**
         * 静态资源服务器地址
         */
        public static final String APP_STATICSERVER_PATH      = "app.staticserver.path";
        /**
         * 静态文件服务器地址
         */
        public static final String APP_FILESERVER_PATH        = "app.fileserver.path";

        /**
         * API文件存放目录
         */
        public static final String APP_API_DIR                = "app.api.dir";

        /**
         * Umeng 配置
         */
        public static final String UMENG_PRODUCT              = "umeng.product";
        public static final String UMENG_APPKEY_ANDROID       = "umeng.appkey.android";
        public static final String UMENG_MASTERSECRET_ANDROID = "umeng.mastersecret.android";
        public static final String UMENG_APPKEY_IOS           = "umeng.appkey.ios";
        public static final String UMENG_MASTERSECRET_IOS     = "umeng.mastersecret.ios";

    }

    //公告类型: 单用户公告
    public static final byte   NOTICE_TYPE_SINGLEUSER = 1;
    //公告类型: 全公司公告
    public static final byte   NOTICE_TYPE_ALLCOMPANY = 2;

    //默认头像地址
    public static final String DEFAULT_AVATAR         = "http://hroa.oss-cn-hangzhou.aliyuncs.com/default.jpg";
    public static final String IMAGE_OSS_HOST         = "http://hroa.oss-cn-hangzhou.aliyuncs.com";

    public static final String IMAGE_SUFFIX_PNG       = ".png";

    public static final String IMAGE_SUFFIX_JPG       = ".jpg";

    //默认密码
    public static final String DEFAULT_PASSWORD       = "123456";

    //标示全体员工
    public static final Long   DEFAULT_ALLUSER_ID     = -111111111L;
    public static final String DEFAULT_ALLUSER_NAME   = "全公司";

}
